########################################################################
# serveur of project tarot virtuel is a server for a card game.        #
# Copyright (C) 2015  Vivien Kraus                                     #
#                                                                      #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or    #
# (at your option) any later version.                                  #
#                                                                      #
# This program is distributed in the hope that it will be useful,      #
# but WITHOUT ANY WARRANTY; without even the implied warranty of       #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        #
# GNU General Public License for more details.                         #
#                                                                      #
# You should have received a copy of the GNU General Public License    #
# along with this program.  If not, see <http://www.gnu.org/licenses/> #
########################################################################


TEMPLATE = app
TARGET = theatre

include(../../config.pri)

DEPENDPATH += .
INCLUDEPATH += . ../shared ../../shared
LIBS += -L$$TAROTV_BUILD_LIBPATH -ltarotv_serveur -ltarotv_base

QT -= gui

# Input
HEADERS +=                         \
echapper.hpp                       \ 
lecteur_scenario.hpp               \
serveur_theatre.hpp                

SOURCES +=                         \
main_program.cpp                   \
echapper.cpp                       \ 
lecteur_scenario.cpp               \
serveur_theatre.cpp                

#Copie de scenario.txt
FILE=$$PWD/scenario.txt
DEST=$$DESTDIR

QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DESTDIR) \
     $$escape_expand(\\n\\t)

export(QMAKE_POST_LINK)

QT += network
